package com.gameGroups.ServiceImpl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.gameGroups.Dto.UserInfoDto;
import com.gameGroups.Mapper.UserInfoMapper;
import com.gameGroups.Service.UserLoginService;
@Service
public class UserLoginServiceImp implements UserLoginService {
	@Autowired
	private UserInfoMapper userInfoMapper;
	
	public UserInfoDto queryUserLogin(Map<String, Object> model) {	
		return userInfoMapper.queryUserLogin(model);
	}

	public Integer queryUserNum() {
		return userInfoMapper.queryUserNum();
	}

	public Integer saveUser(Map<String, Object> model) {
		return userInfoMapper.saveUser(model);
	}

	public Integer queryUserExist(String userName) {
		return userInfoMapper.queryUserExist(userName);
	}

}
